<?php


namespace App\Admin\Requests\App\Project;


use App\Commons\Requests\BaseFormRequest;

class ProjectUpdateRequest extends BaseFormRequest {
    public function rules() {
        return [
            'name'                          => 'required|string|max:255',
            'app_project_type_id'           => 'required|integer',
            'mpt_id'                        => 'required|integer',
            'head_img'                      => 'string|max:255',
            'remark'                        => 'string|max:255',
            'ext_json'                      => 'array',
            'status'                        => 'required|integer|in:1,0',
            'wx_submit_audit_item_rely_mpt' => 'integer|in:0,1',
            'switch_audit_success_release'  => 'required|integer|in:1,0',
        ];
    }
}